<?php
namespace app\index\controller;

//http://ela.test/index/server.php

echo "sdf";

//if(file_exists('ThirdOrder.wsdl')){
//    $objSoapServer = new SoapServer("ThirdOrder.wsdl");//ThirdOrder.wsdl是刚创建的wsdl文件
//    //$objSoapServer = new SoapServer("server.php?wsdl");//这样也行
//    $objSoapServer->setClass("\app\index\controller\Modulestock2");//注册ThirdOrder类的所有方法
//    $objSoapServer->handle();//处理请求
//}else{
//    require_once 'SoapDiscovery.class.php';
//    $disc = new SoapDiscovery('\app\index\controller\Modulestock2', '\app\index\controller\Modulestock2');//api类文件名，service接口目录
//    $res = $disc->getWSDL();
//}
